﻿using System.Web.Mvc;
using TestWebApplication.Models;

namespace TestWebApplication.Controllers
{
    [Authorize]
    public class HomeController : NonSecureController
    {
        
        public ActionResult Index()
        {
            ViewData["loginName"] = Request.RequestContext.HttpContext.User.Identity.Name;

            return View();
        }

    }
}
